package com.sushi.service.impl;

import com.sushi.repository.entity.CollectRelationEntity;
import com.sushi.repository.mapper.CollectRelationMapper;
import com.sushi.service.CollectRelationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sushi.response.ResponseBO;
import com.sushi.response.ResponsePageBO;
import com.sushi.response.CollectRelationResp;
import com.sushi.request.CollectRelationReq;
import com.sushi.request.CollectRelationPageReq;
import com.sushi.utils.ResponsePageUtil;
import com.sushi.utils.ResponseUtil;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import lombok.extern.slf4j.Slf4j;

/**
 * 收藏关系表 服务实现类
 * @date 2023-05-02
 * @time 17:13:14
 * @author Administrator
 */
@Slf4j
@Service
public class CollectRelationServiceImpl extends ServiceImpl<CollectRelationMapper, CollectRelationEntity> implements CollectRelationService {

	@Autowired
	private CollectRelationMapper collectRelationMapper;

    

    /**
     * 新增
     */
    @Override
    public ResponseBO<CollectRelationResp> add(CollectRelationReq req) {
        return ResponseUtil.ok();
    }

    /**
     * 逻辑删除
     */
    @Override
    public ResponseBO<CollectRelationResp> logicRemove(CollectRelationReq req) {
        return ResponseUtil.ok();
    }

    /**
     * 更新
     */
    @Override
    public ResponseBO<CollectRelationResp> updateByField(CollectRelationReq req) {
        return ResponseUtil.ok();
    }

    /**
     * 列表
     */
    @Override
    public ResponsePageBO<CollectRelationResp> listByCondition(CollectRelationPageReq req) {
        return ResponsePageUtil.ok();
    }

    /**
     * 详情
     */
    @Override
    public ResponseBO<CollectRelationResp> detail(CollectRelationReq req) {
        return ResponseUtil.ok();
    };

}